
<?php 
include_once "blog.php";  
      $connection = connect($config);
	  
	   $postId = 1;
      $post = getPostById($postId, $connection);
	  
	  
	  
      view("index", array( 'post' => $post) );
?>